package com.team7.happycommunity.parkservice.dao;

import com.team7.happycommunity.parkservice.pojo.PersonUser;
import org.apache.ibatis.annotations.Select;

public interface PersonUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PersonUser record);

    int insertSelective(PersonUser record);

    PersonUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PersonUser record);

    int updateByPrimaryKey(PersonUser record);

    @Select("select * from person_user where name = #{usernmae}")
    PersonUser selectByUsername(String userName);
}